package coml.jiyun.hp.wanandroid.base;

import android.app.ActivityManager;
import android.app.Application;
import android.content.pm.PackageManager;
import android.database.sqlite.SQLiteDatabase;
import java.util.Iterator;
import java.util.List;
/**
 * 1.基类:
 * BaseActivity(设置布局,initView,initData,初始化P并且关联,界面销毁),
 * BasePresenter:初始化M,持有V层对象,界面销毁的时候可以收到通知通知M层
 * BaseModel:收到P层发送的界面销毁通知,取消网络请求
 * BaseFragment:
 * BaseLazyFragment:
 * BaseAdapter:
 * 2.网络框架: Rxjava+Retrofit+Ok(日志拦截器,缓存拦截器,请求头...)
 * 3.工具类:ToastUtil,打印,dp2px,px2dp,网络状态
 *
 *
 * youmeng:5f27ad1bb4b08b653e90a1cb
 *
 * baidumap ak :ykdxyeMPa2e3HVvkVtEV2cVYYf8FlPwT
 *
 * 极光 ak: 0920e9b7c14d12d1282a1e1f
 *
 *
 * 月活(月活跃用户) >=1000
 * 日活(日活跃用户) 1000
 */
public class BaseApp extends Application {
    public static BaseApp sBaseApp;

    @Override
    public void onCreate() {
        super.onCreate();

        sBaseApp = this;


    }



    public static BaseApp getInstance(){
        return sBaseApp;
    }

}
